package com.twitterbuzz.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;

public class TwitterBuzz implements EntryPoint {

	private static final String SERVER_ERROR = "An error occurred while "
			+ "attempting to contact the server. Please check your network "
			+ "connection and try again.";

	@Override
	public void onModuleLoad() {
		setLoginScreen();
	}
	
	private void setLoginScreen()	{
		//Create the Login screen
	    LoginScreen scrLogin=new LoginScreen();
	    //Attach it to the root panel
	    RootPanel.get().add(scrLogin);
	    RootPanel.get().setStyleName("body");
	  }	  
}
